* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: '幼圆';
}

.area {
  width: 100%;
  height: 100px;
}

.listbox {
  width: 500px;
  height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0 auto;
}

.listbox .list {
  width: 500px;
  position: relative;
}

.listbox .list a {
  display: block;
  height: 35px;
  width: 500px;
  text-align: left;
  line-height: 35px;
  /* 线性渐变色 */
  background: linear-gradient(#cecece, #8f8f8f);
  padding-left: 5px;
  text-decoration: none;
  color: white;
}

.listbox .list p {
  width: 500px;
  height: 0;
  overflow: auto;
  transition: all 1s linear;
  padding: 0px 5px;
  margin: 5px 0;
  text-align: justify;
}

.listbox .list span {
  /* 边框写小三角形 */
  width: 0;
  height: 0;
  border-left: 5px solid rgba(0, 0, 0, 0);
  border-right: 5px solid transparent;
  border-top: 5px solid white;
  border-bottom: 5px solid transparent;
  /* 定位 */
  position: absolute;
  right: 15px;
  top: 15px;
}

/* 当前活动窗口的控制  -->使用 :target 伪类选择器*/
.listbox .list:target p {
  height: 200px;
  border-left: 1px solid #DCDFE6;
  border-right: 1px solid #DCDFE6;
  border-bottom: 1px solid #DCDFE6;
}

.listbox .list a:hover,
.listbox .list:target a {
  background: linear-gradient(#6bb2ff, #2288dd);
}

.listbox .list:target span {
  border-left: 5px solid white;
  border-top: 5px solid transparent;
}